package com.ruoyi.special.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.db.domain.SpecialCostomInfo;
import com.ruoyi.db.domain.SpecialCostomUserInfo;
import com.ruoyi.db.domain.SpecialDataInfo;

/**
 * costomuserService接口
 * 
 * @author ruoyi
 * @date 2022-09-16
 */
public interface ISpecialCostomUserInfoService 
{
    /**
     * 查询costomuser
     * 
     * @param id costomuser主键
     * @return costomuser
     */
    public SpecialCostomUserInfo selectSpecialCostomUserInfoById(Long id);

    /**
     * 查询costomuser列表
     * 
     * @param specialCostomUserInfo costomuser
     * @return costomuser集合
     */
    public List<SpecialCostomUserInfo> selectSpecialCostomUserInfoList(SpecialCostomUserInfo specialCostomUserInfo);

    /**
     * 查询costomuser列表
     *
     * @param specialCostomUserInfo costomuser
     * @return costomuser集合
     */
    public List<Map<String, Object>> selectSpecialCostomUserInfoListMap(SpecialCostomUserInfo specialCostomUserInfo);


    /**
     * 新增costomuser
     * 
     * @param specialCostomUserInfo costomuser
     * @return 结果
     */
    public int insertSpecialCostomUserInfo(SpecialCostomUserInfo specialCostomUserInfo);

    /**
     * 修改costomuser
     * 
     * @param specialCostomUserInfo costomuser
     * @return 结果
     */
    public int updateSpecialCostomUserInfo(SpecialCostomUserInfo specialCostomUserInfo);

    /**
     * 批量删除costomuser
     * 
     * @param ids 需要删除的costomuser主键集合
     * @return 结果
     */
    public int deleteSpecialCostomUserInfoByIds(String ids);

    /**
     * 删除costomuser信息
     * 
     * @param id costomuser主键
     * @return 结果
     */
    public int deleteSpecialCostomUserInfoById(Long id);

    void insertUserList(List<SysUser> userList, SpecialCostomInfo costomInfo);

    SpecialCostomUserInfo getCurrentLoginUserInfo(SysUser sysUser);

    Integer countOnlineUserNumber(Long infoId);

    List<SpecialCostomUserInfo> selectCostomUserInfoList(Long deptId);

}
